txtwht="\[\e[0;37m\]" # White
txtred="\[\e[0;31m\]" # Red
txtgrn="\[\e[0;32m\]" # Green
txtcyn="\[\e[0;36m\]" # Cyan
txtblu="\[\e[0;34m\]" # Blue
bakred="\[\e[41m\]"   # Red
bldred="\[\e[1;41m\]" # Bold Red
bldgrn="\[\e[1;42m\]" # Bold Green
txtpur="\[\e[0;35m\]" # Purple
bldpur="\[\e[1;35m\]" # Purple
txtrst="\[\e[m\]"     # Reset

txtangle1="\342\224\214"
txtangle2="\342\224\224"
txtdash="\342\224\200"

IPADDR=`hostname -I`
USAGE=`hostname`

PS1="${txtwht}${txtangle1}${txtdash}${txtdash}[${txtred}${txtgrn}\#${txtwht}]${txtdash}[${txtpur}\u${txtwht}@${txtcyn}\h${txtwht}]${txtdash}[${txtgrn}${IPADDR}${txtwht}]${txtdash}[${txtcyn}${USAGE:-unkown}${txtwht}]${txtdash}[${txtred}\w${txtwht}]\\n${txtangle2}${txtdash}${txtdash}[\$(if [[ \$? == 0 ]]; then echo \"${bldgrn}Pass\"; else echo \"${bldred}Fail\"; fi)${txtwht}]${txtdash}[${txtrst}\\\$ "
